-- GENERATED SPELL FOR [Teromoth] --


function spell0_18468(pUnit, Event) --@Pacifying Dust,n/a--
pUnit:FullCastSpellOnTarget(32904,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18468', 5272, 1)
end

function Sorts_18468(pUnit, Event)
local choix_sorts_18468 = math.random(0, 0)
if choix_sorts_18468 == 0 then
pUnit:RegisterEvent('spell0_18468', 1, 1)
end
end

function mob18468_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18468', math.random(1500, 3000), 1)
end

function mob18468_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18468_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18468_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18468, 1, 'mob18468_Action')
RegisterUnitEvent(18468, 2, 'mob18468_Leave')
RegisterUnitEvent(18468, 3, 'mob18468_Kill')
RegisterUnitEvent(18468, 4, 'mob18468_Die')
